<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>03_CSS常用值</title>
    <style>
        div{
            width: 400px;
            height: 300px;
            background-color: yellow;
            width: 100vw;
            height: 100vh;
        }
        div>img{
            width: 150px;
            width: 100%;
        }
        h1{
            color:rgb(255,0,0);
            color:rgb(0,255,0);
            color:rgb(0,0,255);
            color:rgb(0,0,0);
            color:rgb(128,128,128);
            color:rgb(255,255,255);


            color:#ff0000;
            color:#00ff00;
            color:#0000ff;
            color:#000000;
            color:#808080;
            color:#ffffff;


            color:#0f0;
            color:#00f;
            color:#000;
            color:#888;
            color:#fff;
            color:#f00;
        }
        div{
            width: 100px;
            height: 100px;
            border: 5px solid #000;
        }
        .d1{
            background-color: rgba(255,0,0,1);
        }
        .d2{
            background-color: rgba(255,0,0,0.8);
        }
        .d3{
            background-color: rgba(255,0,0,0.4);
        }
        .d4{
            background-color: rgba(255,0,0,0.2);
        }
        .d5{
            background-color: rgba(255,0,0,0);
        }
        #bgi{
            width: 500px;
            height: 500px;
            background-image: linear-gradient(104deg,red,cyan,green,blue,yellow,purple);
        }

    </style>
</head>
<body>
<div class="d1"></div>
<div class="d2"></div>
<div class="d3"></div>
<div class="d4"></div>
<div class="d5"></div>
<div>
    <img src="../9527.png" alt="">
</div>
<div id="bgi"></div>


</body>
</html>